<%--                                                                       --%>
<%-- Copyright (c) 2001-2002 BroadVision, Inc.  All rights reserved.       --%>
<%--                                                                       --%>
<%-- This software is copyrighted. Under the copyright laws, this software --%>
<%-- may not be copied, in whole or in part, without prior written consent --%>
<%-- of BroadVision, Inc. or its assignees. This software is provided      --%>
<%-- under the terms of a license between BroadVision and the recipient,   --%>
<%-- and its use is subject to the terms of that license.                  --%>
<%--                                                                       --%>
<%-- This software may be protected by one or more U.S. and International  --%>
<%-- patents.  Certain applications of BroadVision One-To-One software are --%>
<%-- covered by U.S. patent 5,710,887.                                     --%>
<%--                                                                       --%>
<%-- TRADEMARKS: BroadVision and BroadVision One-To-One are registered     --%>
<%-- trademarks of BroadVision, Inc., in the United States and the         --%>
<%-- European Community, and are trademarks of BroadVision, Inc., in other --%>
<%-- countries.  The BroadVision logo, is a trademark of BroadVision,      --%>
<%-- Inc., in the United States and other countries. Additionally, IONA    --%>
<%-- and Orbix are trademarks of IONA Technologies, Ltd.  RSA, MD5, and    --%>
<%-- RC2 are trademarks of RSA Data Security, Inc.                         --%>
<%--                                                                       --%>

<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean-el.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>

<script language="JavaScript">

function onLogin(theForm) {
  if (theForm.username.value == "") {
    theForm.username.focus ();
    return false;
  }
  else if (theForm.password.value == "") {
    theForm.password.focus ();
    return false;
  }
  
  return true;
  }

</script>
  
<html:form action="/cs/micrositeLogin.do">
<input type="hidden" name="serviceName" value='<c:out value="${micrositeUrlHomeForm.map.serviceName}"/>'>
<%-- url name --%>
<input type="hidden" name="name" value='<c:out value="${micrositeUrlHomeForm.map.name}"/>'>
<%--<c: name="micrositeHomeForm" property="showLogo" value="true">
  <img src="<%= request.getContextPath() %><bean:write name="micrositeHomeForm" property="microsite.iconPath"/>"> 
</logic:equal> --%>
<H3> <bean:message key="login.header"/> </H3>

<table border="0" cellpadding="1" cellspacing="0" width="100%"> 
<tr bgcolor="#9999CC">
  <td><b><font color="#ffffff"><bean:message key="login.username"/>:</font></b></td>
</tr>
<tr bgcolor="#9999CC">
  <td><html:text property="username" size="15" maxlength="160"/></td>
</tr>
<tr bgcolor="#9999CC">
  <td><b><font color="#ffffff"><bean:message key="login.password"/>:</font></b></td>
</tr>
<tr bgcolor="#9999CC">
  <td><html:password property="password" size="15" maxlength="40"/></td>
</tr>
<tr bgcolor="#9999CC">
  <td align="right">
    <input type="submit" 
           value='<bean:message key="login.signin"/>' 
           class="inputButton" onclick="return onLogin(this.form);">
  </td>  
</tr>
</table>
</html:form>
